package cn.wang.api;

import cn.wang.pojo.Category;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface CategoryApi {

    /**
     * 根据商品分类查询商品信息
     * @param cids
     * @return
     */
    @GetMapping("/category/cid")
    List<Category> queryCategorysByCids(@RequestParam("cid")Long... cids);
}
